﻿<%@ Page Language="C#" MasterPageFile="~/Benchmark.master" CodeBehind="DataVisualization.aspx.cs"
    Inherits="Sample.DataVisualization" %>

<asp:Content ID="Content1" ContentPlaceHolderID="bodyContentPlaceHolder" runat="server">
    <div id="app">
        <h3>
            Data Visualization</h3>
        <folks:FolksContainer ID="FolksContainer1" runat="server">
            <asp:TextBox ID="filterTextBox" runat="server"></asp:TextBox>
            <asp:DropDownList ID="filterDropDownList" runat="server">
                <asp:ListItem>Name</asp:ListItem>
                <asp:ListItem>Email</asp:ListItem>
            </asp:DropDownList>
            <asp:Button ID="filterButton" runat="server" OnClick="filterButton_Click" Text="Filter" />
            <folks:FolksProgress ID="sampleFolksProgress" runat="server">
                <img src="Images/wait.gif" />
            </folks:FolksProgress>
            <folks:FolksContainer ID="FolksContainer2" runat="server">
                <asp:GridView ID="sampleGridView" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    PageSize="10" CellPadding="4" DataSourceID="sampleObjectDataSource" ForeColor="#333333"
                    GridLines="None" Width="100%" AllowSorting="true">
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                    <Columns>
                        <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" ItemStyle-Width="50%" />
                        <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" ItemStyle-Width="50%" />
                        <asp:CommandField ShowSelectButton="True" ItemStyle-Width="0%" />
                    </Columns>
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" HorizontalAlign="left" />
                    <EditRowStyle BackColor="#999999" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                </asp:GridView>
            </folks:FolksContainer>
        </folks:FolksContainer>
        <asp:ObjectDataSource ID="sampleObjectDataSource" runat="server" SelectMethod="GetDataTable"
            TypeName="Sample.Person"></asp:ObjectDataSource>
    </div>
</asp:Content>
